<?php

class SelectLeagueController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
    }

    public function showFormAction()
    {
        $selectLeagueForm = new Application_Form_SelectLeague();
        
        $this->view->leagueForm = $selectLeagueForm;
    }

    public function getPlayerAction()
    {
        // action body
    }
    
    public function selectLeagueAction()
    {
        if($this->getRequest()->isPost()) {
            Zend_Debug::dump($this->getRequest()->getPost());
            $model = new Application_Model_GetLeague();
            $model->getLeague($this->getRequest()->getPost('leagueId'));
        }
        
    }


}





